
public class Node {

	Node(int[] content){
		this.content = content;
	}
	
	public int[] getContent() {
		return content;
	}
	public Node previous() {
		return previous;
	}
	public Node next() {
		return next;
	}
	
	public void setContent(int[] array) {
		content = array;
	}
	public void setPrevious(Node aa){
		previous = aa;
	}
	public void setNext(Node aa){
		next = aa;
	}
	
	public void print() {
		for (int e: content)
			System.out.print(e + " ");
	}
	
	//data elements
	private int[] content; // primitve! 
	private Node previous;
	private Node next;

}
